/**
 * Created by leiweibo on 7/11/15.
 */

var app = angular.module('doctoraggregateservice', []);
app.factory('DoctorAggregateService', function($http, BaseService) {

  return {
    list_by_office: function (data, pageNo, pageSize, success) {
      $http.get(BaseService.baseUrl + '/doctor/list?pageNo=' + pageNo+ '&pageSize=' + pageSize +'&officeId=' + data).success(success);
    }
  };
});

